import pytest
from common.httpclient import HttpClient
import common.business as business
# 组件库
@pytest.fixture()
def client():
    c = HttpClient()
    yield c # 返回client，同时暂停后面代码的运行
    c.close()


@pytest.fixture()
def headers():
    # 获取认证信息
    h = business.getAuthorization()
    yield 

